#include <Arduino.h>
#include "../include/sd_card.h"
#include "../lib/lvgl/lvgl.h"
#include "../include/init_port_lv.h"
#include "Clock_UI.h"
#include "../lib/lv_fs_if/lv_fs_if.h"

Clock_UI clockUi;

void setup(){
    Serial.begin(115200);
    //初始化lvgl
    lv_init();
    init_port_lv();
    //初始化SD卡
//    sdCard.init();
    //初始化lv文件系统
    lv_fs_if_init();
    //UI
    clockUi.weather_show_lv();
}

void loop(){
    lv_task_handler();
    delay(5);
}